#include"stdio.h"

float dotprod(float x[4],float y[4]){
	float sum =0.0;
	int i;

	for(i=0;i<4;i++)
		sum+=x[i]*y[i];
	return sum;
}

int main(){
	float x[4]={1.0,2.0,3.0,4.0};
	float y[4]={1.1,2.2,3.3,4.4};
	float sum;

	sum=dotprod(x,y);
	return 0;
}
